From 710e5fac94af7217da4dea7df50ccc806d1488a7 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 18 Apr 2025 16:05:07 +0200 Subject: [PATCH] fix(rmdir): switch to another API for folder removal current QDir::rmdir API does not provide an error message when failing to delete retuse FileSystem::remove that may just works with folders Signed-off-by: Matthieu Gallien --- src/libsync/filesystem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libsync/filesystem.cpp b/src/libsync/filesystem.cpp index 52e8f11ad..55d4c3c8b 100644 --- a/src/libsync/filesystem.cpp +++ b/src/libsync/filesystem.cpp @@ -304,7 +304,8 @@ bool FileSystem::removeRecursively(const QString &path, const std::function